import fetch from 'common/src/utils/fetch'
import UTILS from "common/src/utils/utils";
function getTableList(data){
    return fetch ({
        url:'/api/scoremanagementservice/scoreGrades/getScoreLogAction',
        method:'post',
        data
       
    })
}
function exportListData(ids){//导出
    return fetch({
        url:'/api/scoremanagementservice/scoreGrades/exportGroupUser',
        method:'post',
        data:ids,
        responseType: 'blob'
    }).then(res => {
        UTILS.downloadFile(res, '成绩操作日志.xls', 'application/vnd.ms-excel;charset=utf-8');
    });
}
export default{
    getTableList,
    exportListData
}